<div>
    <div class="row" v-if="govFollowupSurveyManageInfo.componentShow == 'govPersonDieManage'">
        <div class="col-lg-12">
            <div class="ibox ">
                <div class="ibox-title">
                    <h5>查询条件</h5>
                </div>
                <div class="ibox-content">
                    <div class="row">
                        <div class="col-sm-4">
                            <div class="form-group">
                                <input type="text" placeholder="请输入登记id"
                                    v-model="govFollowupSurveyManageInfo.conditions.surveyId" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-4">
                            <div class="form-group">
                                <input type="text" placeholder="请输入随访时间"
                                    v-model="govFollowupSurveyManageInfo.conditions.surveyTime" class=" form-control qsurveyTime">
                            </div>
                        </div>
                        <div class="col-sm-4" >
                            <div class="form-group">
                                <select class="custom-select" v-model="govFollowupSurveyManageInfo.conditions.surveyWay">
                                    <option selected value="">请选择随访方式</option>
                                    <option value="1001">门诊</option>
                                    <option value="2002">家庭</option>
                                    <option value="3003">电话</option>
                                </select>
                            </div>
                        </div>
                        <div class="col-sm-4" >
                            <div class="form-group">
                                <input type="text" placeholder="请输入客户姓名"
                                    v-model="govFollowupSurveyManageInfo.conditions.govPersonName" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-4" >
                            <div class="form-group">
                                <input type="text" placeholder="请输入随访医生"
                                    v-model="govFollowupSurveyManageInfo.conditions.surveyDoctor" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-1">
                            <button type="button" class="btn btn-primary btn-sm"
                                v-on:click="_queryGovFollowupSurveyMethod()">
                                <i class="glyphicon glyphicon-search"></i> 查询
                            </button>
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </div>
    <div class="row" v-if="govFollowupSurveyManageInfo.componentShow == 'govPersonDieManage'">
        <div class="col-lg-12">
            <div class="ibox">
                <div class="ibox-title">
                    <h5>随访登记信息</h5>
                    <div class="ibox-tools" style="top:10px;">
                        <button type="button" class="btn btn-primary btn-sm"
                            v-on:click="_openAddGovFollowupSurveyModal()">
                            <i class="glyphicon glyphicon-plus"></i>
                            登记
                        </button>
                    </div>
                </div>
                <div class="ibox-content">
                    <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                        <thead>
                            <tr>
                                <th class="text-center">随访登记ID</th>
                                <th class="text-center">随访时间</th>
                                <th class="text-center">客户姓名</th>
                                <th class="text-center">随访方式</th>
                                <th class="text-center">服药依从性</th>
                                <th class="text-center">药物不良反应</th>
                                <th class="text-center">随访分类</th>
                                <th class="text-center">下次随访时间</th>
                                <th class="text-center">随访医生</th>
                                <th class="text-center">操作</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr v-for="govFollowupSurvey in govFollowupSurveyManageInfo.govFollowupSurveys">
                                <td class="text-center">{{govFollowupSurvey.surveyId}}</td>
                                <td class="text-center">{{govFollowupSurvey.surveyTime}}</td>
                                <td class="text-center">{{govFollowupSurvey.govPersonName}}</td>
                                <td class="text-center">{{_getSurveyWay(govFollowupSurvey.surveyWay)}}</td>
                                <td class="text-center">{{_getDrugCompliance(govFollowupSurvey.drugCompliance)}}</td>
                                <td class="text-center">{{govFollowupSurvey.adrs == 0?'无':'有'}}</td>
                                <td class="text-center">{{_getSurveyType(govFollowupSurvey.surveyType)}}</td>
                                <td class="text-center">{{govFollowupSurvey.nextSurveyTime}}</td>
                                <td class="text-center">{{govFollowupSurvey.surveyDoctor}}</td>
                                <td class="text-center">
                                    <div class="btn-group">
                                        <button class="btn-white btn btn-xs"
                                            v-on:click="_openEditGovFollowupSurveyModel(govFollowupSurvey)">修改</button>
                                    </div>
                                    <div class="btn-group">
                                        <button class="btn-white btn btn-xs"
                                            v-on:click="_openDeleteGovFollowupSurveyModel(govFollowupSurvey)">删除</button>
                                    </div>
                                </td>

                            </tr>
                        </tbody>
                        <tfoot>
                            <tr>
                                <td colspan="7">
                                    <ul class="pagination float-right"></ul>
                                </td>
                            </tr>
                        </tfoot>
                    </table>
                    <!-- 分页 -->
                    <vc:create path="frame/pagination"></vc:create>
                </div>
            </div>
        </div>
    </div>
    <div v-bind:class="{no_display:govFollowupSurveyManageInfo.componentShow != 'addGovFollowupSurvey'}">
        <vc:create path="gov/addGovFollowupSurvey" callBackListener="" callBackFunction=""></vc:create>
    </div>
    <div v-bind:class="{no_display:govFollowupSurveyManageInfo.componentShow != 'editGovFollowupSurvey'}">
        <vc:create path="gov/editGovFollowupSurvey"></vc:create>
    </div>
    <vc:create path="gov/deleteGovFollowupSurvey"></vc:create>

    <vc:create path="gov/chooseGovPerson" emitChooseGovPerson="openChooseGovPerson" emitLoadData="openChooseGovPerson" ></vc:create>
</div>